package com.personal.service;


import com.personal.domain.HouseProp;
import com.personal.domain.HousePropPlus;
import com.personal.util.partDisplay.HousePropPart;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface HousePropService {

    List<HouseProp> selectAll();

    List<HousePropPart> selectPartAll();

    List<HousePropPart> selectPartByKey(String name,String type);

    boolean add(HousePropPlus housePropPlus);

    HouseProp getUpdateData(int id);
    boolean update(HouseProp houseProp);

    boolean delete(List<Integer> ids);


    List<HousePropPart> selectByAreaIds(List<Integer> parkAreaIds);
}
